cmake_minimum_required(VERSION 3.16)

# UI module
add_library(ui
    mainwindow.h
    mainwindow.cpp
    connectdialog.h
    connectdialog.cpp
    logwidget.h
    logwidget.cpp
)

target_link_libraries(ui 
    Qt6::Core
    Qt6::Widgets
    Qt6::Network
    core
    vnc
    rdp
)

target_include_directories(ui PUBLIC 
    ${CMAKE_CURRENT_SOURCE_DIR}
)